﻿if (typeof (CommentsList.lang) == "undefined")
    CommentsList.lang = {};
CommentsList.lang.en = {
    leaveCommentText: "Leave a comment",
    commentsHeaderText: "Comments",
    commentLinkTitle: "Link to comment",
    replyText: "Reply",
    deleteText: "Delete",
    noCommentsText: "No comments yet",
    deleteComfirmText: "Are you sure to delete this comment?",
    userInfoLinkTitle: "Click to get user infomation",

    localizeDateTime: function (datetime) {
        var hours = datetime.getHours() < 10 ? "0" + datetime.getHours() : datetime.getHours();
        var minutes = datetime.getMinutes() < 10 ? "0" + datetime.getMinutes() : datetime.getMinutes();
        var mnames = new Array("of january", "february", "march", "april", "of may", "of june", "of july", "of august", "of september", "of october", "of november", "of december");
        return datetime.getDate() + " " + mnames[datetime.getMonth()] + " " + hours + ":" + minutes;
    },

    isWoman: function (username) {
        return false; //put detec logic here
    }
};